﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="Geert" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
  <title translate="true">Using NuGet to add a package reference</title>
  <keywords>
    <keyword translate="true">NuGet</keyword>
    <keyword translate="true">Packages</keyword>
  </keywords>
  <body>
    <header>
      <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Using NuGet to add a package reference</text></para>
    </header>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Catel is available in </text><link displaytype="text" defaultstyle="true" type="weblink" href="http://www.nuget.org" target="_blank" styleclass="Normal" translate="true">NuGet</link><text styleclass="Normal" translate="true">. To use NuGet, it must be installed first. Please visit the </text><link displaytype="text" defaultstyle="true" type="weblink" href="http://www.nuget.org" target="_blank" styleclass="Normal" translate="true">NuGet website</link><text styleclass="Normal" translate="true"> for more information on how to install NuGet.</text></para>
    <para styleclass="Notes"><text styleclass="Notes" translate="true">Since NuGet 1.3, it is also possible to install the packages via the Package Library</text></para>
    <para styleclass="Notes"><text styleclass="Notes" translate="true">Since Catel 3.0, this process is the same for each target framework (WPF, Silverlight and WP7)</text></para>
    <list id="26" type="ol" listtype="decimal" formatstring="%0:s." format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Arial; font-size:10pt; color:#000000;">
      <li styleclass="Normal"><text styleclass="Normal" translate="true">Create or open a new project. The easiest way is to create a new project using one of the </text><link displaytype="text" defaultstyle="true" type="topiclink" href="GS_CST_Using_the_project_templates" styleclass="Normal" translate="true">project templates</link><text styleclass="Normal" translate="true">.</text></li>
      <li styleclass="Normal"><text styleclass="Normal" translate="true">Open the NuGet </text><text styleclass="Normal" style="font-style:italic;" translate="true">Package Manager Console</text><text styleclass="Normal" translate="true">, make sure the package is added to the right project and execute the following command:</text></li>
    </list>
    <para styleclass="Normal"><text styleclass="Normal" style="font-style:italic;" translate="true">install-package catel.extensions.controls</text></para>
    <para styleclass="Normal"><image src="nuget_package_wpf.png" scale="100.00%" styleclass="Image Caption"></image></para>
  </body>
</topic>
